﻿using System;
using System.ComponentModel;
using System.Reflection;
using System.Runtime.InteropServices;
using Teigha.Core;

namespace Teigha.TD
{
	public class OdDbHostAppServices2 : OdDbHostAppServices
	{
		[EditorBrowsable(EditorBrowsableState.Never)]
		public OdDbHostAppServices2(IntPtr cPtr, bool cMemoryOwn) : base(TD_DbPINVOKE.OdDbHostAppServices2_SWIGUpcast(cPtr), cMemoryOwn)
		{
			this.swigCPtr = new HandleRef(this, cPtr);
		}

		[EditorBrowsable(EditorBrowsableState.Never)]
		public static HandleRef getCPtr(OdDbHostAppServices2 obj)
		{
			if (obj != null)
			{
				return obj.swigCPtr;
			}
			return new HandleRef(null, IntPtr.Zero);
		}

		~OdDbHostAppServices2()
		{
			this.Dispose();
		}

		public override void Dispose()
		{
			if (this.swigCPtr.Handle != IntPtr.Zero)
			{
				if (this.swigCMemOwn)
				{
					lock (this.locker)
					{
						if (this.swigCPtr.Handle != IntPtr.Zero && this.swigCMemOwn)
						{
							this.swigCMemOwn = false;
							TD_DbPINVOKE.delete_OdDbHostAppServices2(this.swigCPtr);
						}
					}
					this.swigCMemOwn = false;
				}
				this.swigCPtr = new HandleRef(null, IntPtr.Zero);
			}
			GC.SuppressFinalize(this);
			base.Dispose();
		}

		public OdDbHostAppServices2() : this(TD_DbPINVOKE.new_OdDbHostAppServices2(), MemoryManager.GetMemoryManager().GetCurrentTransaction() == null)
		{
			MemoryTransaction currentTransaction = MemoryManager.GetMemoryManager().GetCurrentTransaction();
			if (currentTransaction != null)
			{
				currentTransaction.AddObject(new OdDbHostAppServices2(this.swigCPtr.Handle, true));
			}
			if (TD_DbPINVOKE.SWIGPendingException.Pending)
			{
				throw TD_DbPINVOKE.SWIGPendingException.Retrieve();
			}
			this.SwigDirectorConnect();
		}

		private void SwigDirectorConnect()
		{
			if (this.SwigDerivedClassHasMethod("queryX", OdDbHostAppServices2.swigMethodTypes0))
			{
				this.swigDelegate0 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_0(this.SwigDirectorqueryX);
			}
			if (this.SwigDerivedClassHasMethod("isA", OdDbHostAppServices2.swigMethodTypes1))
			{
				this.swigDelegate1 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_1(this.SwigDirectorisA);
			}
			if (this.SwigDerivedClassHasMethod("findFile", OdDbHostAppServices2.swigMethodTypes2))
			{
				this.swigDelegate2 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_2(this.SwigDirectorfindFile__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("findFile", OdDbHostAppServices2.swigMethodTypes3))
			{
				this.swigDelegate3 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_3(this.SwigDirectorfindFile__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("findFile", OdDbHostAppServices2.swigMethodTypes4))
			{
				this.swigDelegate4 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_4(this.SwigDirectorfindFile__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("newProgressMeter", OdDbHostAppServices2.swigMethodTypes5))
			{
				this.swigDelegate5 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_5(this.SwigDirectornewProgressMeter);
			}
			if (this.SwigDerivedClassHasMethod("releaseProgressMeter", OdDbHostAppServices2.swigMethodTypes6))
			{
				this.swigDelegate6 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_6(this.SwigDirectorreleaseProgressMeter);
			}
			if (this.SwigDerivedClassHasMethod("program", OdDbHostAppServices2.swigMethodTypes7))
			{
				this.swigDelegate7 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_7(this.SwigDirectorprogram);
			}
			if (this.SwigDerivedClassHasMethod("product", OdDbHostAppServices2.swigMethodTypes8))
			{
				this.swigDelegate8 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_8(this.SwigDirectorproduct);
			}
			if (this.SwigDerivedClassHasMethod("companyName", OdDbHostAppServices2.swigMethodTypes9))
			{
				this.swigDelegate9 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_9(this.SwigDirectorcompanyName);
			}
			if (this.SwigDerivedClassHasMethod("prodcode", OdDbHostAppServices2.swigMethodTypes10))
			{
				this.swigDelegate10 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_10(this.SwigDirectorprodcode);
			}
			if (this.SwigDerivedClassHasMethod("releaseMajorMinorString", OdDbHostAppServices2.swigMethodTypes11))
			{
				this.swigDelegate11 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_11(this.SwigDirectorreleaseMajorMinorString);
			}
			if (this.SwigDerivedClassHasMethod("releaseMajorVersion", OdDbHostAppServices2.swigMethodTypes12))
			{
				this.swigDelegate12 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_12(this.SwigDirectorreleaseMajorVersion);
			}
			if (this.SwigDerivedClassHasMethod("releaseMinorVersion", OdDbHostAppServices2.swigMethodTypes13))
			{
				this.swigDelegate13 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_13(this.SwigDirectorreleaseMinorVersion);
			}
			if (this.SwigDerivedClassHasMethod("versionString", OdDbHostAppServices2.swigMethodTypes14))
			{
				this.swigDelegate14 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_14(this.SwigDirectorversionString);
			}
			if (this.SwigDerivedClassHasMethod("warning", OdDbHostAppServices2.swigMethodTypes15))
			{
				this.swigDelegate15 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_15(this.SwigDirectorwarning__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("warning", OdDbHostAppServices2.swigMethodTypes16))
			{
				this.swigDelegate16 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_16(this.SwigDirectorwarning__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("warning", OdDbHostAppServices2.swigMethodTypes17))
			{
				this.swigDelegate17 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_17(this.SwigDirectorwarning__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("warning", OdDbHostAppServices2.swigMethodTypes18))
			{
				this.swigDelegate18 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_18(this.SwigDirectorwarning__SWIG_3);
			}
			if (this.SwigDerivedClassHasMethod("getErrorDescription", OdDbHostAppServices2.swigMethodTypes19))
			{
				this.swigDelegate19 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_19(this.SwigDirectorgetErrorDescription);
			}
			if (this.SwigDerivedClassHasMethod("newUndoController", OdDbHostAppServices2.swigMethodTypes20))
			{
				this.swigDelegate20 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_20(this.SwigDirectornewUndoController);
			}
			if (this.SwigDerivedClassHasMethod("newUndoStream", OdDbHostAppServices2.swigMethodTypes21))
			{
				this.swigDelegate21 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_21(this.SwigDirectornewUndoStream);
			}
			if (this.SwigDerivedClassHasMethod("auditPrintReport", OdDbHostAppServices2.swigMethodTypes22))
			{
				this.swigDelegate22 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_22(this.SwigDirectorauditPrintReport);
			}
			if (this.SwigDerivedClassHasMethod("ttfFileNameByDescriptor", OdDbHostAppServices2.swigMethodTypes23))
			{
				this.swigDelegate23 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_23(this.SwigDirectorttfFileNameByDescriptor);
			}
			if (this.SwigDerivedClassHasMethod("getAlternateFontName", OdDbHostAppServices2.swigMethodTypes24))
			{
				this.swigDelegate24 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_24(this.SwigDirectorgetAlternateFontName);
			}
			if (this.SwigDerivedClassHasMethod("getFontMapFileName", OdDbHostAppServices2.swigMethodTypes25))
			{
				this.swigDelegate25 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_25(this.SwigDirectorgetFontMapFileName);
			}
			if (this.SwigDerivedClassHasMethod("getPreferableFont", OdDbHostAppServices2.swigMethodTypes26))
			{
				this.swigDelegate26 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_26(this.SwigDirectorgetPreferableFont);
			}
			if (this.SwigDerivedClassHasMethod("getSubstituteFont", OdDbHostAppServices2.swigMethodTypes27))
			{
				this.swigDelegate27 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_27(this.SwigDirectorgetSubstituteFont);
			}
			if (this.SwigDerivedClassHasMethod("fileDialog", OdDbHostAppServices2.swigMethodTypes28))
			{
				this.swigDelegate28 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_28(this.SwigDirectorfileDialog__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("fileDialog", OdDbHostAppServices2.swigMethodTypes29))
			{
				this.swigDelegate29 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_29(this.SwigDirectorfileDialog__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("fileDialog", OdDbHostAppServices2.swigMethodTypes30))
			{
				this.swigDelegate30 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_30(this.SwigDirectorfileDialog__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("fileDialog", OdDbHostAppServices2.swigMethodTypes31))
			{
				this.swigDelegate31 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_31(this.SwigDirectorfileDialog__SWIG_3);
			}
			if (this.SwigDerivedClassHasMethod("fileDialog", OdDbHostAppServices2.swigMethodTypes32))
			{
				this.swigDelegate32 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_32(this.SwigDirectorfileDialog__SWIG_4);
			}
			if (this.SwigDerivedClassHasMethod("gsBitmapDevice", OdDbHostAppServices2.swigMethodTypes33))
			{
				this.swigDelegate33 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_33(this.SwigDirectorgsBitmapDevice__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("gsBitmapDevice", OdDbHostAppServices2.swigMethodTypes34))
			{
				this.swigDelegate34 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_34(this.SwigDirectorgsBitmapDevice__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("gsBitmapDevice", OdDbHostAppServices2.swigMethodTypes35))
			{
				this.swigDelegate35 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_35(this.SwigDirectorgsBitmapDevice__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("gsBitmapDevice", OdDbHostAppServices2.swigMethodTypes36))
			{
				this.swigDelegate36 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_36(this.SwigDirectorgsBitmapDevice__SWIG_3);
			}
			if (this.SwigDerivedClassHasMethod("getTempPath", OdDbHostAppServices2.swigMethodTypes37))
			{
				this.swigDelegate37 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_37(this.SwigDirectorgetTempPath);
			}
			if (this.SwigDerivedClassHasMethod("numThreads", OdDbHostAppServices2.swigMethodTypes38))
			{
				this.swigDelegate38 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_38(this.SwigDirectornumThreads);
			}
			if (this.SwigDerivedClassHasMethod("databaseClass", OdDbHostAppServices2.swigMethodTypes39))
			{
				this.swigDelegate39 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_39(this.SwigDirectordatabaseClass);
			}
			if (this.SwigDerivedClassHasMethod("createDatabase", OdDbHostAppServices2.swigMethodTypes40))
			{
				this.swigDelegate40 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_40(this.SwigDirectorcreateDatabase__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("createDatabase", OdDbHostAppServices2.swigMethodTypes41))
			{
				this.swigDelegate41 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_41(this.SwigDirectorcreateDatabase__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("createDatabase", OdDbHostAppServices2.swigMethodTypes42))
			{
				this.swigDelegate42 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_42(this.SwigDirectorcreateDatabase__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes43))
			{
				this.swigDelegate43 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_43(this.SwigDirectorreadFile__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes44))
			{
				this.swigDelegate44 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_44(this.SwigDirectorreadFile__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes45))
			{
				this.swigDelegate45 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_45(this.SwigDirectorreadFile__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes46))
			{
				this.swigDelegate46 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_46(this.SwigDirectorreadFile__SWIG_3);
			}
			if (this.SwigDerivedClassHasMethod("recoverFile", OdDbHostAppServices2.swigMethodTypes47))
			{
				this.swigDelegate47 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_47(this.SwigDirectorrecoverFile__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("recoverFile", OdDbHostAppServices2.swigMethodTypes48))
			{
				this.swigDelegate48 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_48(this.SwigDirectorrecoverFile__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("recoverFile", OdDbHostAppServices2.swigMethodTypes49))
			{
				this.swigDelegate49 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_49(this.SwigDirectorrecoverFile__SWIG_2);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes50))
			{
				this.swigDelegate50 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_50(this.SwigDirectorreadFile__SWIG_4);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes51))
			{
				this.swigDelegate51 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_51(this.SwigDirectorreadFile__SWIG_5);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes52))
			{
				this.swigDelegate52 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_52(this.SwigDirectorreadFile__SWIG_6);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes53))
			{
				this.swigDelegate53 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_53(this.SwigDirectorreadFile__SWIG_7);
			}
			if (this.SwigDerivedClassHasMethod("readFile", OdDbHostAppServices2.swigMethodTypes54))
			{
				this.swigDelegate54 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_54(this.SwigDirectorreadFile__SWIG_8);
			}
			if (this.SwigDerivedClassHasMethod("warning1", OdDbHostAppServices2.swigMethodTypes55))
			{
				this.swigDelegate55 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_55(this.SwigDirectorwarning1);
			}
			if (this.SwigDerivedClassHasMethod("warning", OdDbHostAppServices2.swigMethodTypes56))
			{
				this.swigDelegate56 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_56(this.SwigDirectorwarning);
			}
			if (this.SwigDerivedClassHasMethod("warning2", OdDbHostAppServices2.swigMethodTypes57))
			{
				this.swigDelegate57 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_57(this.SwigDirectorwarning2);
			}
			if (this.SwigDerivedClassHasMethod("warning3", OdDbHostAppServices2.swigMethodTypes58))
			{
				this.swigDelegate58 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_58(this.SwigDirectorwarning3);
			}
			if (this.SwigDerivedClassHasMethod("doFullCRCCheck", OdDbHostAppServices2.swigMethodTypes59))
			{
				this.swigDelegate59 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_59(this.SwigDirectordoFullCRCCheck);
			}
			if (this.SwigDerivedClassHasMethod("plotSettingsValidator", OdDbHostAppServices2.swigMethodTypes60))
			{
				this.swigDelegate60 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_60(this.SwigDirectorplotSettingsValidator);
			}
			if (this.SwigDerivedClassHasMethod("getSubstituteFontByChar", OdDbHostAppServices2.swigMethodTypes61))
			{
				this.swigDelegate61 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_61(this.SwigDirectorgetSubstituteFontByChar);
			}
			if (this.SwigDerivedClassHasMethod("getSystemFontFolders", OdDbHostAppServices2.swigMethodTypes62))
			{
				this.swigDelegate62 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_62(this.SwigDirectorgetSystemFontFolders);
			}
			if (this.SwigDerivedClassHasMethod("collectFilePathsInDirectory", OdDbHostAppServices2.swigMethodTypes63))
			{
				this.swigDelegate63 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_63(this.SwigDirectorcollectFilePathsInDirectory__SWIG_0);
			}
			if (this.SwigDerivedClassHasMethod("collectFilePathsInDirectory", OdDbHostAppServices2.swigMethodTypes64))
			{
				this.swigDelegate64 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_64(this.SwigDirectorcollectFilePathsInDirectory__SWIG_1);
			}
			if (this.SwigDerivedClassHasMethod("patternManager", OdDbHostAppServices2.swigMethodTypes65))
			{
				this.swigDelegate65 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_65(this.SwigDirectorpatternManager);
			}
			if (this.SwigDerivedClassHasMethod("getPassword", OdDbHostAppServices2.swigMethodTypes66))
			{
				this.swigDelegate66 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_66(this.SwigDirectorgetPassword);
			}
			if (this.SwigDerivedClassHasMethod("getPasswordCache", OdDbHostAppServices2.swigMethodTypes67))
			{
				this.swigDelegate67 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_67(this.SwigDirectorgetPasswordCache);
			}
			if (this.SwigDerivedClassHasMethod("newPageController", OdDbHostAppServices2.swigMethodTypes68))
			{
				this.swigDelegate68 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_68(this.SwigDirectornewPageController);
			}
			if (this.SwigDerivedClassHasMethod("pageObjects", OdDbHostAppServices2.swigMethodTypes69))
			{
				this.swigDelegate69 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_69(this.SwigDirectorpageObjects);
			}
			if (this.SwigDerivedClassHasMethod("layoutManager", OdDbHostAppServices2.swigMethodTypes70))
			{
				this.swigDelegate70 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_70(this.SwigDirectorlayoutManager);
			}
			if (this.SwigDerivedClassHasMethod("educationalPlotStamp", OdDbHostAppServices2.swigMethodTypes71))
			{
				this.swigDelegate71 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_71(this.SwigDirectoreducationalPlotStamp);
			}
			if (this.SwigDerivedClassHasMethod("getDgnHostAppServices", OdDbHostAppServices2.swigMethodTypes72))
			{
				this.swigDelegate72 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_72(this.SwigDirectorgetDgnHostAppServices);
			}
			if (this.SwigDerivedClassHasMethod("getThumbSize", OdDbHostAppServices2.swigMethodTypes73))
			{
				this.swigDelegate73 = new OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_73(this.SwigDirectorgetThumbSize);
			}
			TD_DbPINVOKE.OdDbHostAppServices2_director_connect(this.swigCPtr, this.swigDelegate0, this.swigDelegate1, this.swigDelegate2, this.swigDelegate3, this.swigDelegate4, this.swigDelegate5, this.swigDelegate6, this.swigDelegate7, this.swigDelegate8, this.swigDelegate9, this.swigDelegate10, this.swigDelegate11, this.swigDelegate12, this.swigDelegate13, this.swigDelegate14, this.swigDelegate15, this.swigDelegate16, this.swigDelegate17, this.swigDelegate18, this.swigDelegate19, this.swigDelegate20, this.swigDelegate21, this.swigDelegate22, this.swigDelegate23, this.swigDelegate24, this.swigDelegate25, this.swigDelegate26, this.swigDelegate27, this.swigDelegate28, this.swigDelegate29, this.swigDelegate30, this.swigDelegate31, this.swigDelegate32, this.swigDelegate33, this.swigDelegate34, this.swigDelegate35, this.swigDelegate36, this.swigDelegate37, this.swigDelegate38, this.swigDelegate39, this.swigDelegate40, this.swigDelegate41, this.swigDelegate42, this.swigDelegate43, this.swigDelegate44, this.swigDelegate45, this.swigDelegate46, this.swigDelegate47, this.swigDelegate48, this.swigDelegate49, this.swigDelegate50, this.swigDelegate51, this.swigDelegate52, this.swigDelegate53, this.swigDelegate54, this.swigDelegate55, this.swigDelegate56, this.swigDelegate57, this.swigDelegate58, this.swigDelegate59, this.swigDelegate60, this.swigDelegate61, this.swigDelegate62, this.swigDelegate63, this.swigDelegate64, this.swigDelegate65, this.swigDelegate66, this.swigDelegate67, this.swigDelegate68, this.swigDelegate69, this.swigDelegate70, this.swigDelegate71, this.swigDelegate72, this.swigDelegate73);
		}

		private bool SwigDerivedClassHasMethod(string methodName, Type[] methodTypes)
		{
			MethodInfo method = base.GetType().GetMethod(methodName, BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic, null, methodTypes, null);
			return method.DeclaringType.IsSubclassOf(typeof(OdDbHostAppServices2));
		}

		private IntPtr SwigDirectorqueryX(IntPtr protocolClass)
		{
			return OdRxObject.getCPtr(this.queryX((OdRxClass)Teigha.Core.Helpers.odrxCreateObjectInternal(protocolClass, false))).Handle;
		}

		private IntPtr SwigDirectorisA()
		{
			return OdRxClass.getCPtr(this.isA()).Handle;
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorfindFile__SWIG_0([MarshalAs(UnmanagedType.LPWStr)] string filename, IntPtr pDb, int hint)
		{
			return this.findFile(filename, Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), (OdDbBaseHostAppServices.FindFileHint)hint);
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorfindFile__SWIG_1([MarshalAs(UnmanagedType.LPWStr)] string filename, IntPtr pDb)
		{
			return this.findFile(filename, Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false));
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorfindFile__SWIG_2([MarshalAs(UnmanagedType.LPWStr)] string filename)
		{
			return this.findFile(filename);
		}

		private IntPtr SwigDirectornewProgressMeter()
		{
			return OdDbHostAppProgressMeter.getCPtr(this.newProgressMeter()).Handle;
		}

		private void SwigDirectorreleaseProgressMeter(IntPtr pProgressMeter)
		{
			this.releaseProgressMeter((pProgressMeter == IntPtr.Zero) ? null : new OdDbHostAppProgressMeter(pProgressMeter, false));
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorprogram()
		{
			return this.program();
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorproduct()
		{
			return this.product();
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorcompanyName()
		{
			return this.companyName();
		}

		private int SwigDirectorprodcode()
		{
			return (int)this.prodcode();
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorreleaseMajorMinorString()
		{
			return this.releaseMajorMinorString();
		}

		private int SwigDirectorreleaseMajorVersion()
		{
			return this.releaseMajorVersion();
		}

		private int SwigDirectorreleaseMinorVersion()
		{
			return this.releaseMinorVersion();
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorversionString()
		{
			return this.versionString();
		}

		private void SwigDirectorwarning__SWIG_0([MarshalAs(UnmanagedType.LPWStr)] string message)
		{
			this.warning(message);
		}

		private void SwigDirectorwarning__SWIG_1(string warnVisGroup, [MarshalAs(UnmanagedType.LPWStr)] string message)
		{
			this.warning(warnVisGroup, message);
		}

		private void SwigDirectorwarning__SWIG_2(int warningOb)
		{
			this.warning((OdResult)warningOb);
		}

		private void SwigDirectorwarning__SWIG_3(string warnVisGroup, int warningOb)
		{
			this.warning(warnVisGroup, (OdResult)warningOb);
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorgetErrorDescription(uint errorCode)
		{
			return this.getErrorDescription(errorCode);
		}

		private IntPtr SwigDirectornewUndoController()
		{
			return OdDbUndoController.getCPtr(this.newUndoController()).Handle;
		}

		private IntPtr SwigDirectornewUndoStream()
		{
			return OdStreamBuf.getCPtr(this.newUndoStream()).Handle;
		}

		private void SwigDirectorauditPrintReport(IntPtr pAuditInfo, [MarshalAs(UnmanagedType.LPWStr)] string strLine, int printDest)
		{
			this.auditPrintReport((pAuditInfo == IntPtr.Zero) ? null : new OdAuditInfo(pAuditInfo, false), strLine, printDest);
		}

		private bool SwigDirectorttfFileNameByDescriptor(IntPtr description, ref IntPtr filename)
		{
			string text = Marshal.PtrToStringUni(filename);
			string b = text;
			bool result;
			try
			{
				result = this.ttfFileNameByDescriptor(new OdTtfDescriptor(description, false), ref text);
			}
			finally
			{
				if (text != b)
				{
					filename = Marshal.StringToCoTaskMemUni(text);
				}
			}
			return result;
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorgetAlternateFontName()
		{
			return this.getAlternateFontName();
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorgetFontMapFileName()
		{
			return this.getFontMapFileName();
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorgetPreferableFont([MarshalAs(UnmanagedType.LPWStr)] string fontName, int fontType)
		{
			return this.getPreferableFont(fontName, (OdFontType)fontType);
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorgetSubstituteFont([MarshalAs(UnmanagedType.LPWStr)] string fontName, int fontType)
		{
			return this.getSubstituteFont(fontName, (OdFontType)fontType);
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorfileDialog__SWIG_0(int flags, [MarshalAs(UnmanagedType.LPWStr)] string dialogCaption, [MarshalAs(UnmanagedType.LPWStr)] string defExt, [MarshalAs(UnmanagedType.LPWStr)] string defFilename, [MarshalAs(UnmanagedType.LPWStr)] string filter)
		{
			return this.fileDialog(flags, dialogCaption, defExt, defFilename, filter);
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorfileDialog__SWIG_1(int flags, [MarshalAs(UnmanagedType.LPWStr)] string dialogCaption, [MarshalAs(UnmanagedType.LPWStr)] string defExt, [MarshalAs(UnmanagedType.LPWStr)] string defFilename)
		{
			return this.fileDialog(flags, dialogCaption, defExt, defFilename);
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorfileDialog__SWIG_2(int flags, [MarshalAs(UnmanagedType.LPWStr)] string dialogCaption, [MarshalAs(UnmanagedType.LPWStr)] string defExt)
		{
			return this.fileDialog(flags, dialogCaption, defExt);
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorfileDialog__SWIG_3(int flags, [MarshalAs(UnmanagedType.LPWStr)] string dialogCaption)
		{
			return this.fileDialog(flags, dialogCaption);
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorfileDialog__SWIG_4(int flags)
		{
			return this.fileDialog(flags);
		}

		private IntPtr SwigDirectorgsBitmapDevice__SWIG_0(IntPtr pViewObj, IntPtr pDb, uint flags)
		{
			return OdGsDevice.getCPtr(this.gsBitmapDevice(Teigha.Core.Helpers.odrxCreateObjectInternal(pViewObj, false), Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false), flags)).Handle;
		}

		private IntPtr SwigDirectorgsBitmapDevice__SWIG_1(IntPtr pViewObj, IntPtr pDb)
		{
			return OdGsDevice.getCPtr(this.gsBitmapDevice(Teigha.Core.Helpers.odrxCreateObjectInternal(pViewObj, false), Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false))).Handle;
		}

		private IntPtr SwigDirectorgsBitmapDevice__SWIG_2(IntPtr pViewObj)
		{
			return OdGsDevice.getCPtr(this.gsBitmapDevice(Teigha.Core.Helpers.odrxCreateObjectInternal(pViewObj, false))).Handle;
		}

		private IntPtr SwigDirectorgsBitmapDevice__SWIG_3()
		{
			return OdGsDevice.getCPtr(this.gsBitmapDevice()).Handle;
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorgetTempPath()
		{
			return this.getTempPath();
		}

		private int SwigDirectornumThreads(int mtMode)
		{
			return this.numThreads((MultiThreadedMode)mtMode);
		}

		private IntPtr SwigDirectordatabaseClass()
		{
			return OdRxClass.getCPtr(this.databaseClass()).Handle;
		}

		private IntPtr SwigDirectorcreateDatabase__SWIG_0(bool createDefault, int measurement)
		{
			return OdDbDatabase.getCPtr(this.createDatabase(createDefault, (MeasurementValue)measurement)).Handle;
		}

		private IntPtr SwigDirectorcreateDatabase__SWIG_1(bool createDefault)
		{
			return OdDbDatabase.getCPtr(this.createDatabase(createDefault)).Handle;
		}

		private IntPtr SwigDirectorcreateDatabase__SWIG_2()
		{
			return OdDbDatabase.getCPtr(this.createDatabase()).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_0(IntPtr pStreamBuf, bool allowCPConversion, bool partialLoad, [MarshalAs(UnmanagedType.LPWStr)] string password)
		{
			return OdDbDatabase.getCPtr(this.readFile((OdStreamBuf)Teigha.Core.Helpers.odrxCreateObjectInternal(pStreamBuf, false), allowCPConversion, partialLoad, password)).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_1(IntPtr pStreamBuf, bool allowCPConversion, bool partialLoad)
		{
			return OdDbDatabase.getCPtr(this.readFile((OdStreamBuf)Teigha.Core.Helpers.odrxCreateObjectInternal(pStreamBuf, false), allowCPConversion, partialLoad)).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_2(IntPtr pStreamBuf, bool allowCPConversion)
		{
			return OdDbDatabase.getCPtr(this.readFile((OdStreamBuf)Teigha.Core.Helpers.odrxCreateObjectInternal(pStreamBuf, false), allowCPConversion)).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_3(IntPtr pStreamBuf)
		{
			return OdDbDatabase.getCPtr(this.readFile((OdStreamBuf)Teigha.Core.Helpers.odrxCreateObjectInternal(pStreamBuf, false))).Handle;
		}

		private IntPtr SwigDirectorrecoverFile__SWIG_0(IntPtr pStreamBuf, IntPtr pAuditInfo, [MarshalAs(UnmanagedType.LPWStr)] string password)
		{
			return OdDbDatabase.getCPtr(this.recoverFile((OdStreamBuf)Teigha.Core.Helpers.odrxCreateObjectInternal(pStreamBuf, false), (pAuditInfo == IntPtr.Zero) ? null : new OdDbAuditInfo(pAuditInfo, false), password)).Handle;
		}

		private IntPtr SwigDirectorrecoverFile__SWIG_1(IntPtr pStreamBuf, IntPtr pAuditInfo)
		{
			return OdDbDatabase.getCPtr(this.recoverFile((OdStreamBuf)Teigha.Core.Helpers.odrxCreateObjectInternal(pStreamBuf, false), (pAuditInfo == IntPtr.Zero) ? null : new OdDbAuditInfo(pAuditInfo, false))).Handle;
		}

		private IntPtr SwigDirectorrecoverFile__SWIG_2(IntPtr pStreamBuf)
		{
			return OdDbDatabase.getCPtr(this.recoverFile((OdStreamBuf)Teigha.Core.Helpers.odrxCreateObjectInternal(pStreamBuf, false))).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_4([MarshalAs(UnmanagedType.LPWStr)] string filename, bool allowCPConversion, bool partialLoad, int shareMode, [MarshalAs(UnmanagedType.LPWStr)] string password)
		{
			return OdDbDatabase.getCPtr(this.readFile(filename, allowCPConversion, partialLoad, (FileShareMode)shareMode, password)).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_5([MarshalAs(UnmanagedType.LPWStr)] string filename, bool allowCPConversion, bool partialLoad, int shareMode)
		{
			return OdDbDatabase.getCPtr(this.readFile(filename, allowCPConversion, partialLoad, (FileShareMode)shareMode)).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_6([MarshalAs(UnmanagedType.LPWStr)] string filename, bool allowCPConversion, bool partialLoad)
		{
			return OdDbDatabase.getCPtr(this.readFile(filename, allowCPConversion, partialLoad)).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_7([MarshalAs(UnmanagedType.LPWStr)] string filename, bool allowCPConversion)
		{
			return OdDbDatabase.getCPtr(this.readFile(filename, allowCPConversion)).Handle;
		}

		private IntPtr SwigDirectorreadFile__SWIG_8([MarshalAs(UnmanagedType.LPWStr)] string filename)
		{
			return OdDbDatabase.getCPtr(this.readFile(filename)).Handle;
		}

		private void SwigDirectorwarning1(int warningOb, IntPtr objectId)
		{
			this.warning1((OdResult)warningOb, new OdDbObjectId(objectId, false));
		}

		private void SwigDirectorwarning(string warnVisGroup, int warningOb, IntPtr objectId)
		{
			this.warning(warnVisGroup, (OdResult)warningOb, new OdDbObjectId(objectId, false));
		}

		private void SwigDirectorwarning2(IntPtr err)
		{
			this.warning2(new OdError(err, false));
		}

		private void SwigDirectorwarning3(string warnVisGroup, IntPtr err)
		{
			this.warning3(warnVisGroup, new OdError(err, false));
		}

		private bool SwigDirectordoFullCRCCheck()
		{
			return this.doFullCRCCheck();
		}

		private IntPtr SwigDirectorplotSettingsValidator()
		{
			return OdDbPlotSettingsValidator.getCPtr(this.plotSettingsValidator()).Handle;
		}

		[return: MarshalAs(UnmanagedType.LPWStr)]
		private string SwigDirectorgetSubstituteFontByChar(IntPtr pFont, char unicodeChar, IntPtr pDb)
		{
			return this.getSubstituteFontByChar((OdFont)Teigha.Core.Helpers.odrxCreateObjectInternal(pFont, false), unicodeChar, (OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false));
		}

		private bool SwigDirectorgetSystemFontFolders(IntPtr aDirs)
		{
			return this.getSystemFontFolders(new OdStringArray(aDirs, false));
		}

		private void SwigDirectorcollectFilePathsInDirectory__SWIG_0(IntPtr res, [MarshalAs(UnmanagedType.LPWStr)] string sPath, [MarshalAs(UnmanagedType.LPWStr)] string sFilter)
		{
			this.collectFilePathsInDirectory(new OdStringArray(res, false), sPath, sFilter);
		}

		private void SwigDirectorcollectFilePathsInDirectory__SWIG_1(IntPtr res, [MarshalAs(UnmanagedType.LPWStr)] string sPath)
		{
			this.collectFilePathsInDirectory(new OdStringArray(res, false), sPath);
		}

		private IntPtr SwigDirectorpatternManager()
		{
			return OdHatchPatternManager.getCPtr(this.patternManager()).Handle;
		}

		private bool SwigDirectorgetPassword([MarshalAs(UnmanagedType.LPWStr)] string dwgName, bool isXref, ref IntPtr password)
		{
			string text = Marshal.PtrToStringUni(password);
			string b = text;
			bool password2;
			try
			{
				password2 = this.getPassword(dwgName, isXref, ref text);
			}
			finally
			{
				if (text != b)
				{
					password = Marshal.StringToCoTaskMemUni(text);
				}
			}
			return password2;
		}

		private IntPtr SwigDirectorgetPasswordCache()
		{
			return OdPwdCache.getCPtr(this.getPasswordCache()).Handle;
		}

		private IntPtr SwigDirectornewPageController()
		{
			return OdDbPageController.getCPtr(this.newPageController()).Handle;
		}

		private int SwigDirectorpageObjects(IntPtr pDb)
		{
			return (int)this.pageObjects((OdDbDatabase)Teigha.Core.Helpers.odrxCreateObjectInternal(pDb, false));
		}

		private IntPtr SwigDirectorlayoutManager()
		{
			return OdDbLayoutManager.getCPtr(this.layoutManager()).Handle;
		}

		private uint SwigDirectoreducationalPlotStamp()
		{
			return this.educationalPlotStamp();
		}

		private IntPtr SwigDirectorgetDgnHostAppServices()
		{
			return OdDbBaseHostAppServices.getCPtr(this.getDgnHostAppServices()).Handle;
		}

		private void SwigDirectorgetThumbSize(IntPtr nWidth, IntPtr nHeight)
		{
			this.getThumbSize(new SWIGTYPE_p_unsigned_int(nWidth, false), new SWIGTYPE_p_unsigned_int(nHeight, false));
		}

		private object locker = new object();

		private HandleRef swigCPtr;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_0 swigDelegate0;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_1 swigDelegate1;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_2 swigDelegate2;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_3 swigDelegate3;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_4 swigDelegate4;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_5 swigDelegate5;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_6 swigDelegate6;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_7 swigDelegate7;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_8 swigDelegate8;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_9 swigDelegate9;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_10 swigDelegate10;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_11 swigDelegate11;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_12 swigDelegate12;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_13 swigDelegate13;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_14 swigDelegate14;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_15 swigDelegate15;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_16 swigDelegate16;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_17 swigDelegate17;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_18 swigDelegate18;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_19 swigDelegate19;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_20 swigDelegate20;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_21 swigDelegate21;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_22 swigDelegate22;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_23 swigDelegate23;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_24 swigDelegate24;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_25 swigDelegate25;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_26 swigDelegate26;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_27 swigDelegate27;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_28 swigDelegate28;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_29 swigDelegate29;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_30 swigDelegate30;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_31 swigDelegate31;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_32 swigDelegate32;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_33 swigDelegate33;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_34 swigDelegate34;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_35 swigDelegate35;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_36 swigDelegate36;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_37 swigDelegate37;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_38 swigDelegate38;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_39 swigDelegate39;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_40 swigDelegate40;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_41 swigDelegate41;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_42 swigDelegate42;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_43 swigDelegate43;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_44 swigDelegate44;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_45 swigDelegate45;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_46 swigDelegate46;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_47 swigDelegate47;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_48 swigDelegate48;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_49 swigDelegate49;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_50 swigDelegate50;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_51 swigDelegate51;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_52 swigDelegate52;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_53 swigDelegate53;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_54 swigDelegate54;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_55 swigDelegate55;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_56 swigDelegate56;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_57 swigDelegate57;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_58 swigDelegate58;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_59 swigDelegate59;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_60 swigDelegate60;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_61 swigDelegate61;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_62 swigDelegate62;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_63 swigDelegate63;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_64 swigDelegate64;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_65 swigDelegate65;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_66 swigDelegate66;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_67 swigDelegate67;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_68 swigDelegate68;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_69 swigDelegate69;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_70 swigDelegate70;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_71 swigDelegate71;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_72 swigDelegate72;

		private OdDbHostAppServices2.SwigDelegateOdDbHostAppServices2_73 swigDelegate73;

		private static Type[] swigMethodTypes0 = new Type[]
		{
			typeof(OdRxClass)
		};

		private static Type[] swigMethodTypes1 = new Type[0];

		private static Type[] swigMethodTypes2 = new Type[]
		{
			typeof(string),
			typeof(OdRxObject),
			typeof(OdDbBaseHostAppServices.FindFileHint)
		};

		private static Type[] swigMethodTypes3 = new Type[]
		{
			typeof(string),
			typeof(OdRxObject)
		};

		private static Type[] swigMethodTypes4 = new Type[]
		{
			typeof(string)
		};

		private static Type[] swigMethodTypes5 = new Type[0];

		private static Type[] swigMethodTypes6 = new Type[]
		{
			typeof(OdDbHostAppProgressMeter)
		};

		private static Type[] swigMethodTypes7 = new Type[0];

		private static Type[] swigMethodTypes8 = new Type[0];

		private static Type[] swigMethodTypes9 = new Type[0];

		private static Type[] swigMethodTypes10 = new Type[0];

		private static Type[] swigMethodTypes11 = new Type[0];

		private static Type[] swigMethodTypes12 = new Type[0];

		private static Type[] swigMethodTypes13 = new Type[0];

		private static Type[] swigMethodTypes14 = new Type[0];

		private static Type[] swigMethodTypes15 = new Type[]
		{
			typeof(string)
		};

		private static Type[] swigMethodTypes16 = new Type[]
		{
			typeof(string),
			typeof(string)
		};

		private static Type[] swigMethodTypes17 = new Type[]
		{
			typeof(OdResult)
		};

		private static Type[] swigMethodTypes18 = new Type[]
		{
			typeof(string),
			typeof(OdResult)
		};

		private static Type[] swigMethodTypes19 = new Type[]
		{
			typeof(uint)
		};

		private static Type[] swigMethodTypes20 = new Type[0];

		private static Type[] swigMethodTypes21 = new Type[0];

		private static Type[] swigMethodTypes22 = new Type[]
		{
			typeof(OdAuditInfo),
			typeof(string),
			typeof(int)
		};

		private static Type[] swigMethodTypes23 = new Type[]
		{
			typeof(OdTtfDescriptor),
			typeof(string).MakeByRefType()
		};

		private static Type[] swigMethodTypes24 = new Type[0];

		private static Type[] swigMethodTypes25 = new Type[0];

		private static Type[] swigMethodTypes26 = new Type[]
		{
			typeof(string),
			typeof(OdFontType)
		};

		private static Type[] swigMethodTypes27 = new Type[]
		{
			typeof(string),
			typeof(OdFontType)
		};

		private static Type[] swigMethodTypes28 = new Type[]
		{
			typeof(int),
			typeof(string),
			typeof(string),
			typeof(string),
			typeof(string)
		};

		private static Type[] swigMethodTypes29 = new Type[]
		{
			typeof(int),
			typeof(string),
			typeof(string),
			typeof(string)
		};

		private static Type[] swigMethodTypes30 = new Type[]
		{
			typeof(int),
			typeof(string),
			typeof(string)
		};

		private static Type[] swigMethodTypes31 = new Type[]
		{
			typeof(int),
			typeof(string)
		};

		private static Type[] swigMethodTypes32 = new Type[]
		{
			typeof(int)
		};

		private static Type[] swigMethodTypes33 = new Type[]
		{
			typeof(OdRxObject),
			typeof(OdRxObject),
			typeof(uint)
		};

		private static Type[] swigMethodTypes34 = new Type[]
		{
			typeof(OdRxObject),
			typeof(OdRxObject)
		};

		private static Type[] swigMethodTypes35 = new Type[]
		{
			typeof(OdRxObject)
		};

		private static Type[] swigMethodTypes36 = new Type[0];

		private static Type[] swigMethodTypes37 = new Type[0];

		private static Type[] swigMethodTypes38 = new Type[]
		{
			typeof(MultiThreadedMode)
		};

		private static Type[] swigMethodTypes39 = new Type[0];

		private static Type[] swigMethodTypes40 = new Type[]
		{
			typeof(bool),
			typeof(MeasurementValue)
		};

		private static Type[] swigMethodTypes41 = new Type[]
		{
			typeof(bool)
		};

		private static Type[] swigMethodTypes42 = new Type[0];

		private static Type[] swigMethodTypes43 = new Type[]
		{
			typeof(OdStreamBuf),
			typeof(bool),
			typeof(bool),
			typeof(string)
		};

		private static Type[] swigMethodTypes44 = new Type[]
		{
			typeof(OdStreamBuf),
			typeof(bool),
			typeof(bool)
		};

		private static Type[] swigMethodTypes45 = new Type[]
		{
			typeof(OdStreamBuf),
			typeof(bool)
		};

		private static Type[] swigMethodTypes46 = new Type[]
		{
			typeof(OdStreamBuf)
		};

		private static Type[] swigMethodTypes47 = new Type[]
		{
			typeof(OdStreamBuf),
			typeof(OdDbAuditInfo),
			typeof(string)
		};

		private static Type[] swigMethodTypes48 = new Type[]
		{
			typeof(OdStreamBuf),
			typeof(OdDbAuditInfo)
		};

		private static Type[] swigMethodTypes49 = new Type[]
		{
			typeof(OdStreamBuf)
		};

		private static Type[] swigMethodTypes50 = new Type[]
		{
			typeof(string),
			typeof(bool),
			typeof(bool),
			typeof(FileShareMode),
			typeof(string)
		};

		private static Type[] swigMethodTypes51 = new Type[]
		{
			typeof(string),
			typeof(bool),
			typeof(bool),
			typeof(FileShareMode)
		};

		private static Type[] swigMethodTypes52 = new Type[]
		{
			typeof(string),
			typeof(bool),
			typeof(bool)
		};

		private static Type[] swigMethodTypes53 = new Type[]
		{
			typeof(string),
			typeof(bool)
		};

		private static Type[] swigMethodTypes54 = new Type[]
		{
			typeof(string)
		};

		private static Type[] swigMethodTypes55 = new Type[]
		{
			typeof(OdResult),
			typeof(OdDbObjectId)
		};

		private static Type[] swigMethodTypes56 = new Type[]
		{
			typeof(string),
			typeof(OdResult),
			typeof(OdDbObjectId)
		};

		private static Type[] swigMethodTypes57 = new Type[]
		{
			typeof(OdError)
		};

		private static Type[] swigMethodTypes58 = new Type[]
		{
			typeof(string),
			typeof(OdError)
		};

		private static Type[] swigMethodTypes59 = new Type[0];

		private static Type[] swigMethodTypes60 = new Type[0];

		private static Type[] swigMethodTypes61 = new Type[]
		{
			typeof(OdFont),
			typeof(char),
			typeof(OdDbDatabase)
		};

		private static Type[] swigMethodTypes62 = new Type[]
		{
			typeof(OdStringArray)
		};

		private static Type[] swigMethodTypes63 = new Type[]
		{
			typeof(OdStringArray),
			typeof(string),
			typeof(string)
		};

		private static Type[] swigMethodTypes64 = new Type[]
		{
			typeof(OdStringArray),
			typeof(string)
		};

		private static Type[] swigMethodTypes65 = new Type[0];

		private static Type[] swigMethodTypes66 = new Type[]
		{
			typeof(string),
			typeof(bool),
			typeof(string).MakeByRefType()
		};

		private static Type[] swigMethodTypes67 = new Type[0];

		private static Type[] swigMethodTypes68 = new Type[0];

		private static Type[] swigMethodTypes69 = new Type[]
		{
			typeof(OdDbDatabase)
		};

		private static Type[] swigMethodTypes70 = new Type[0];

		private static Type[] swigMethodTypes71 = new Type[0];

		private static Type[] swigMethodTypes72 = new Type[0];

		private static Type[] swigMethodTypes73 = new Type[]
		{
			typeof(SWIGTYPE_p_unsigned_int),
			typeof(SWIGTYPE_p_unsigned_int)
		};

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_0(IntPtr protocolClass);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_1();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_2([MarshalAs(UnmanagedType.LPWStr)] string filename, IntPtr pDb, int hint);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_3([MarshalAs(UnmanagedType.LPWStr)] string filename, IntPtr pDb);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_4([MarshalAs(UnmanagedType.LPWStr)] string filename);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_5();

		public delegate void SwigDelegateOdDbHostAppServices2_6(IntPtr pProgressMeter);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_7();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_8();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_9();

		public delegate int SwigDelegateOdDbHostAppServices2_10();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_11();

		public delegate int SwigDelegateOdDbHostAppServices2_12();

		public delegate int SwigDelegateOdDbHostAppServices2_13();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_14();

		public delegate void SwigDelegateOdDbHostAppServices2_15([MarshalAs(UnmanagedType.LPWStr)] string message);

		public delegate void SwigDelegateOdDbHostAppServices2_16(string warnVisGroup, [MarshalAs(UnmanagedType.LPWStr)] string message);

		public delegate void SwigDelegateOdDbHostAppServices2_17(int warningOb);

		public delegate void SwigDelegateOdDbHostAppServices2_18(string warnVisGroup, int warningOb);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_19(uint errorCode);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_20();

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_21();

		public delegate void SwigDelegateOdDbHostAppServices2_22(IntPtr pAuditInfo, [MarshalAs(UnmanagedType.LPWStr)] string strLine, int printDest);

		public delegate bool SwigDelegateOdDbHostAppServices2_23(IntPtr description, ref IntPtr filename);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_24();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_25();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_26([MarshalAs(UnmanagedType.LPWStr)] string fontName, int fontType);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_27([MarshalAs(UnmanagedType.LPWStr)] string fontName, int fontType);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_28(int flags, [MarshalAs(UnmanagedType.LPWStr)] string dialogCaption, [MarshalAs(UnmanagedType.LPWStr)] string defExt, [MarshalAs(UnmanagedType.LPWStr)] string defFilename, [MarshalAs(UnmanagedType.LPWStr)] string filter);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_29(int flags, [MarshalAs(UnmanagedType.LPWStr)] string dialogCaption, [MarshalAs(UnmanagedType.LPWStr)] string defExt, [MarshalAs(UnmanagedType.LPWStr)] string defFilename);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_30(int flags, [MarshalAs(UnmanagedType.LPWStr)] string dialogCaption, [MarshalAs(UnmanagedType.LPWStr)] string defExt);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_31(int flags, [MarshalAs(UnmanagedType.LPWStr)] string dialogCaption);

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_32(int flags);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_33(IntPtr pViewObj, IntPtr pDb, uint flags);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_34(IntPtr pViewObj, IntPtr pDb);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_35(IntPtr pViewObj);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_36();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_37();

		public delegate int SwigDelegateOdDbHostAppServices2_38(int mtMode);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_39();

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_40(bool createDefault, int measurement);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_41(bool createDefault);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_42();

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_43(IntPtr pStreamBuf, bool allowCPConversion, bool partialLoad, [MarshalAs(UnmanagedType.LPWStr)] string password);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_44(IntPtr pStreamBuf, bool allowCPConversion, bool partialLoad);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_45(IntPtr pStreamBuf, bool allowCPConversion);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_46(IntPtr pStreamBuf);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_47(IntPtr pStreamBuf, IntPtr pAuditInfo, [MarshalAs(UnmanagedType.LPWStr)] string password);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_48(IntPtr pStreamBuf, IntPtr pAuditInfo);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_49(IntPtr pStreamBuf);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_50([MarshalAs(UnmanagedType.LPWStr)] string filename, bool allowCPConversion, bool partialLoad, int shareMode, [MarshalAs(UnmanagedType.LPWStr)] string password);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_51([MarshalAs(UnmanagedType.LPWStr)] string filename, bool allowCPConversion, bool partialLoad, int shareMode);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_52([MarshalAs(UnmanagedType.LPWStr)] string filename, bool allowCPConversion, bool partialLoad);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_53([MarshalAs(UnmanagedType.LPWStr)] string filename, bool allowCPConversion);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_54([MarshalAs(UnmanagedType.LPWStr)] string filename);

		public delegate void SwigDelegateOdDbHostAppServices2_55(int warningOb, IntPtr objectId);

		public delegate void SwigDelegateOdDbHostAppServices2_56(string warnVisGroup, int warningOb, IntPtr objectId);

		public delegate void SwigDelegateOdDbHostAppServices2_57(IntPtr err);

		public delegate void SwigDelegateOdDbHostAppServices2_58(string warnVisGroup, IntPtr err);

		public delegate bool SwigDelegateOdDbHostAppServices2_59();

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_60();

		[return: MarshalAs(UnmanagedType.LPWStr)]
		public delegate string SwigDelegateOdDbHostAppServices2_61(IntPtr pFont, char unicodeChar, IntPtr pDb);

		public delegate bool SwigDelegateOdDbHostAppServices2_62(IntPtr aDirs);

		public delegate void SwigDelegateOdDbHostAppServices2_63(IntPtr res, [MarshalAs(UnmanagedType.LPWStr)] string sPath, [MarshalAs(UnmanagedType.LPWStr)] string sFilter);

		public delegate void SwigDelegateOdDbHostAppServices2_64(IntPtr res, [MarshalAs(UnmanagedType.LPWStr)] string sPath);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_65();

		public delegate bool SwigDelegateOdDbHostAppServices2_66([MarshalAs(UnmanagedType.LPWStr)] string dwgName, bool isXref, ref IntPtr password);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_67();

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_68();

		public delegate int SwigDelegateOdDbHostAppServices2_69(IntPtr pDb);

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_70();

		public delegate uint SwigDelegateOdDbHostAppServices2_71();

		public delegate IntPtr SwigDelegateOdDbHostAppServices2_72();

		public delegate void SwigDelegateOdDbHostAppServices2_73(IntPtr nWidth, IntPtr nHeight);
	}
}
